<?php  if (!defined('BASEPATH')) exit('No direct script access allowed');

class Genres extends Controller 
{
	const MENU_CATEGORY = 'genre';
	/*
	*	constructor
	*	@PARA: null
	*	@RETURN: null
	*/
	function __construct()
	{
		parent::Controller();
	}
	/*
	*	index page - defult class action
	*	@PARA: null
	*	@RETURN: null
	*/
	public function index()
	{
		$this->listGenres();
	}
	
	/*
	*	listGenres()
	*	@PARA: null
	*	@RETURN: null
	*/
	public function listGenres()
	{		
		setcookie("menuCategory", self::MENU_CATEGORY);
		$this->load->helper('url');	
		redirect('/games/listGames/'.self::MENU_CATEGORY.'/ALL', 'location');				
	}
}
?>